﻿namespace Vinno.Brand.Pack.Core.Entities
{
    /// <summary>
    /// 省区经理
    /// </summary>
    [Description("省区经理")]
    [EntitySchema(TableConstants.Brand, "VINNO")]
    public class Saler : EntityBase<Guid>, ICreatedTime
    {
        /// <summary>
        /// 姓名
        /// </summary>
        [Required]
        [StringSize(StringSizeType.General)]
        public string Name { get; set; }

        /// <summary>
        /// 手机号
        /// </summary>
        [StringSize(StringSizeType.Code)]
        [DisplayName("手机号")]
        public string Phone { get; set; }

        /// <summary>
        /// 邮箱
        /// </summary>
        [StringSize(StringSizeType.General)]
        [DisplayName("邮箱")]
        public string Email { get; set; }

        /// <summary>
        /// 区域代码
        /// </summary>
        [StringSize(StringSizeType.Code)]
        [DisplayName("区域代码")]
        public string AreaCode { get; set; }

        /// <summary>
        /// 获取或设置 创建时间
        /// </summary>
        [DisplayName("创建时间")]
        public DateTime CreatedTime { get; set; }
    }
}